package com.crm.service;

import com.crm.model.Attachment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.model.vo.AttachmentVO;

import java.util.List;

/**
 * <p>
 * 附件 服务类
 * </p>
 *
 * @author zjd
 * @since 2021-04-01
 */
public interface IAttachmentService extends IService<Attachment> {

    void deleteByindexIdAndType(Long indexId,Integer type);

    List<AttachmentVO> findByindexIdAndType(Long indexId, Integer type);
}
